<template>
	<view>
		<view class="wrap">
			<view class="">
				<u-tabs-swiper font-size="32" activeColor="#058cff" :current="current" count="count" swiper-width="200000"
					@change="tabsChange" ref="tabs" :list="list"></u-tabs-swiper>
			</view>
			<swiper class="swiper-box" :current="current" @transition="transition" @animationfinish="animationfinish">
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>统计</text>
						<view class="">
							<view class="wrap-count-money">
								<text>总运费（元）</text>
								<view>{{ zyf || 0 }}</view>
							</view>
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box" style="background-color: #E3E3E3;">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == 0">接单时间：{{ res.ORMTB470CA16 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == 1">进厂时间：{{ res.ORMTB470CA43 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == 2">出厂时间：{{ res.ORMTB470CA17 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == 3">提交审核时间：{{ res.ORMTB470CA36 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == 4">审核完成时间：{{ res.ORMTB470CA37 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == 5">完成时间：{{ res.ORMTB470CC02 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == '-1'">取消时间：{{ res.ORMTB470CA28 || '' }}
										</view>
										<view class="store timSize-16" v-if="res.ORMTB470CD00 == '-3'">
											提交审核时间：{{ res.ORMTB470CA36 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>厂家：{{ res.ORMTB470CA05 }}</text>
											</view>
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
											<view class="">
												<text>状态：</text>
												<text v-if="res.ORMTB470CD00 == '-1'" style="color:red;">取消</text>
												<text v-if="res.ORMTB470CD00 == '0'" style="color:#009900;">进行中</text>
												<text v-if="res.ORMTB470CD00 == '1'" style="color:#009900;">提货中</text>
												<text v-if="res.ORMTB470CD00 == '2'" style="color:#009900;">已出厂</text>
												<text v-if="res.ORMTB470CD00 == '3'" style="color:#009900;">待审核</text>
												<text v-if="res.ORMTB470CD00 == '4'" style="color:#009900;">已审核</text>
												<text v-if="res.ORMTB470CD00 == '5'" style="color:#009900;">已完成</text>
												<text v-if="res.ORMTB470CD00 == '-3'" style="color:red;">磅单审核不通过</text>
												<text v-if="res.ORMTB470CD01 == '2'" style="color:red;">取消审核不通过</text>
											</view>
										</view>
										<view class="type" v-if="res.ORMTB470CD00 == '-3' || res.ORMTB470CD01 == '2'">
											<view class="">
												<text>拒绝原因：{{ res.ORMTB470CA44 }}</text>
											</view>
										</view>
										<u-button
											v-if="(res.ORMTB470CD00 == 0 || res.ORMTB470CD00 == 1 || res.ORMTB470CD00 == 2 || res.ORMTB470CD00 == 3) && res.ORMTB470CD01 == 1"
											@click="codeShow = true, querycode(res)" type="primary" class="btn_mid">二维码
										</u-button>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;"></view>
					</scroll-view>
				</swiper-item>

				<swiper-item class="swiper-item">
					<!-- 运单审核 -->
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderListExam" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">申请时间：{{ res.ORMTB469CB01 || '' }}</view>
									</view>
									<view class="right" @click="ydshdetiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB469CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB469CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB469CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>厂家：{{ res.ORMTB469CA05 }}</text>
											</view>
											<view class="">
												<text>物料类型：{{ res.ORMTB469CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB469CA14 }}元</text>
											</view>
										</view>
										<view class="but-box" v-if="res.UNAUDITCOUNT != 0">
											<u-button @click="SOqxreturn(res)" type="error" class="btn_sty">取消
											</u-button>
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderListExam.length != 0" :status="status" :icon-type="iconType"
								:load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderListExam.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;">
						</view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>进行中统计</text>
						<view class="">
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">接单时间：{{ res.ORMTB470CA16 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
											<view v-if="res.ORMTB470CD01 == '2'" class="">
												<text>取消状态：</text>
												<text>拒绝</text>
											</view>
										</view>
										<view v-if="res.ORMTB470CD01 == '2'" class="type">
											<view class="">
												<text>拒绝原因：</text>
												<text>{{ res.ORMTB470CA44 }}</text>
											</view>
										</view>
										<u-button @click="codeShow = true, querycode(res)" type="primary" class="btn_mid">二维码</u-button>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;"></view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>提货中统计</text>
						<view class="">
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">进厂时间：{{ res.ORMTB470CA43 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
										</view>
										<u-button @click="codeShow = true, querycode(res)" type="primary" class="btn_mid">
											二维码</u-button>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;"></view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>已出厂统计</text>
						<view class="">
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">出厂时间：{{ res.ORMTB470CA17 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;"></view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>待审核统计</text>
						<view class="">
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">提交审核时间：{{ res.ORMTB470CA36 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
											<view class="">
												<text>审核状态：</text>
												<text style="color:red;" v-if="res.ORMTB470CD00 == '-3'">拒绝</text>
												<text style="color:red;" v-if="res.ORMTB470CD00 == '3'">待审核</text>
												<text style="color:red;" v-if="res.ORMTB470CD00 == '4'">通过</text>
											</view>
										</view>
										<view class="type" v-if="res.ORMTB470CD00 == '-3'">
											<view class="">
												<text>拒绝原因：</text>
												<text style="color:red;">{{ res.ORMTB470CA44 }}</text>
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;">
						</view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>已审核统计</text>
						<view class="">
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">已审核时间：{{ res.ORMTB470CA37 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;">
						</view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>已完成统计</text>
						<view class="">
							<view class="wrap-count-money">
								<text>总运费（元）</text>
								<view>{{ zyf }}</view>
							</view>
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">完成时间：{{ res.ORMTB470CC02 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;">
						</view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<view class="wrap-count">
						<text>已取消统计</text>
						<view class="">
							<view class="">
								<text>总车次</text>
								<view>{{ zcount }}</view>
							</view>
						</view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">取消时间：{{ res.ORMTB470CA16 || '' }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="content">
										<view class="che-leixing">
											<text class="huo-yun-biaoqian">货运</text>
											<text style="padding-left: 10rpx;">车牌号：{{ res.ORMTB470CA01 }}</text>
										</view>
										<view class="title u-line-2"><span class="zhuang-huo-dizhi">装</span>
											{{ res.ORMTB470CA32 }}
										</view>
										<view class="title u-line-2"><span class="xie-huo-dizhi">卸</span>{{ res.ORMTB470CA33 }}</view>
										<view class="type" style="padding: 20rpx 0;">
											<view class="">
												<text>厂家：{{ res.ORMTB470CA05 }}</text>
											</view>
											<view class="">
												<text>物料类型：{{ res.ORMTB470CA07 }}</text>
											</view>
										</view>
										<view class="type">
											<view class="">
												<text>运费每吨：</text>
												<text>{{ res.ORMTB470CA14 }}元</text>
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;">
						</view>
					</scroll-view>
				</swiper-item>
				<swiper-item class="swiper-item">
					<view class="dropdown_menu">
						<view @click="carshow = true, querycar()">{{ carNumberName }}
							<u-icon class="icon_left_margin" name="arrow-down-fill" color="#ccc" size="28"></u-icon>
						</view>
						<view @click="screeningTap">筛选<text class="iconfont iconshaixuan"
								style="color: #ccc;font-size: 28rpx;"></text></view>
					</view>
					<scroll-view scroll-y style="height: 100%;width: 100%;" @scrolltolower="reachBottom">
						<view class="page-box">
							<view class="order" v-for="(res, index) in orderList" :key="index">
								<view class="top">
									<view class="left">
										<view class="store timSize-16">派单时间：{{ res.ORMTB440CA19 }}</view>
									</view>
									<view class="right" @click="detiles(res)">详情</view>
								</view>
								<view class="item">
									<view class="left">
										<u-icon name="car-fill" size="58" color="#ccc"></u-icon>
										<view class="license_plate">{{ res.ORMTB440CA01 }}</view>
									</view>
									<view class="content">
										<view class="title u-line-2">{{ res.ORMTB440CA05 }}</view>
										<view class="type">{{ res.ORMTB440CA03 }}</view>
										<view class="type">
											<text style="margin-right: 15px;">{{ res.ORMTB440CA07 }}</text>
											<text>{{ res.ORMTB440CA10 }}{{ '吨' }}</text>
										</view>
										<view class="" v-if="res.ORMTB440CG00 == 0" style="color: #FF0000;">
											{{ res.ORMTB440CG00Text || '' }}
										</view>
										<view class="" v-if="res.ORMTB440CH01 == 0" style="color: #FF0000;">
											{{ res.auditText || '' }}
										</view>
									</view>
								</view>
							</view>
						</view>
						<view class="sendorder-loadmore">
							<u-loadmore v-if="orderList.length != 0" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="zanWSJ" v-if="orderList.length == 0">
							<image :src="getStaticFilePath('/QXY/noData.png')"></image>
						</view>
						<view class="" style="height: 160px;">
						</view>
					</scroll-view>
				</swiper-item>
			</swiper>
		</view>
		<u-popup v-model="screeningshow" length="80%" mode="right" @close="screeningClose">
			<view class="screening-content">
				<view class="sendrecord-nav-placeholder"
					:style="{ height: Number(navHeight) + Number(systemInfo.statusBarHeight) + 'px' }">
				</view>
				<view class="">
					<view class="changeWuliao">
						<view>企业</view>
						<view class="sent-dateChange sent-dateChange-mask">
							<view class="" @click="erpshow = true"></view>
							<input class="kehuName" v-model="enterpriseName" :class="{ orActive: enterpriseName != '全部' }"
								readonly="readonly" placeholder="请选择账户">
						</view>
					</view>
					<view class="changeQiye">
						<view class="xuanzeqiye">请选择物料</view>
						<view class="sent-dateChange sent-dateChange-mask">
							<view class="" @click="matershow = true"></view>
							<input class="kehuName" readonly="readonly" placeholder="请选择物料" v-model="materName"
								:class="{ orActive: materName != '全部' }">
						</view>
					</view>
					<view class="changeButton">
						<button @click="initChanged">重置</button>
						<button @click="sureSearch">确定</button>
					</view>
				</view>
			</view>
		</u-popup>
		<u-picker mode="selector" v-model="erpshow" @confirm="erpcfirm" range-key="cateName" :default-selector="[0]"
			:range="erpcColumns"></u-picker>
		<u-picker v-model="stattimeshow" mode="time" start-year="2015" :end-year="year" @confirm="tiemconfirm"
			:params="params"></u-picker>
		<u-picker v-model="endtimeshow" mode="time" start-year="2015" :end-year="year" @confirm="endtiemconfirm"
			:params="params"></u-picker>
		<u-picker mode="selector" v-model="matershow" range-key="cateName" @confirm="materfirm" :default-selector="[0]"
			:range="materColumns"></u-picker>
		<u-popup v-model="carshow" length="100%" mode="right">
			<view class="car-search">
				<view class="sendrecord-nav-placeholder"
					:style="{ height: Number(optionHeight) + Number(navHeight) + Number(systemInfo.statusBarHeight) + 'px' }">
				</view>
				<view class="car-search-fixed">
					<view class="sendrecord-nav-top-status-bar"
						:style="{ height: Number(systemInfo.statusBarHeight) + Number(navHeight) + 'px' }">
					</view>
					<view class="car-search-top" :style="{ height: optionHeight + 'px' }">
						<view class="car-search-top-title">
							<view class="" @click="carshow = false">
								返回
							</view>
							<view class="car-search-top-title-search" @click="carKeyWordshow = true">
								<view class="">
								</view>
								<u-search class="car-search-top-title-search-box" :clearabled="false" :show-action="false"
									placeholder="请输入车牌号" v-model="carkeyword"></u-search>
							</view>
						</view>
					</view>
				</view>
				<view class="car-search-li" v-for="(item, index) in carList" :key="index" @click="carresultTap(item)">
					{{ item.SETTB402CA00 }}
				</view>
			</view>
		</u-popup>
		<u-popup v-model="carqxshow" length="100%" mode="right" @close="carclose">
			<!-- 可以取消车辆操作列表 -->
			<view class="iscar-nav">
				<view class="iscar-nav-top" v-if="platform == false"></view>
				<view v-else :style="{ height: systemInfo.statusBarHeight + 'px' }"></view>
				<view class="iscar-nav-search">
					<view class="iscar-nav-search-btn" @click="carqxshow = false">
						返回
					</view>
					<view class="iscar-nav-search-ipt">
						<u-search placeholder="请输入车牌号" @change="querykqxcar" v-model="carSearch" :show-action="true"></u-search>
					</view>
				</view>
				<view class="iscar-nav-btn">
					<view @click="checkedAll" v-if="ischeckedAll == true">全选</view>
					<view @click="nocheckedAll" v-if="ischeckedAll == false">全不选</view>
					<view @click="determineFun">确定</view>
				</view>
			</view>
			<!--  -->
			<view class="iscar-content" :style="platform == false ? 'padding-top: 24vh;' : 'padding-top: 24vh'">
				<view v-if="platform == true" :style="{ height: systemInfo.statusBarHeight + 'px' }"></view>
				<u-checkbox-group :wrap="true" @change="checkboxGroupChange">
					<u-checkbox size='40' label-size="38" v-model="item.checked" v-for="(item, index) in qxcarList" :key="index"
						:name="item.name">{{ item.name }}</u-checkbox>
				</u-checkbox-group>
			</view>
		</u-popup>

		<u-keyboard mode="car" @change="valChange" @backspace="backspace" v-model="carKeyWordshow" :mask="false">
		</u-keyboard>
		<u-toast ref="uToast" />
		<u-popup v-model="codeShow" mode="bottom" closeable width="80%" height="80%">
			<view class="code-img">
				<image :src="binary" mode="" />
			</view>
			<view class="ERcode-orderinfo">
				<view class="ERcode-orderinfo-view"><text style="color: red;">{{ queryCodeList.ORMTB470CA01 || '' }}</text><text
						style="color: #32CD32;">{{ queryCodeList.ORMTB470CD00 == '0' ? '已接单' : queryCodeList.ORMTB470CD00 == '1' ?
							'提货中' : '' || '' }}</text>
				</view>
				<view><text>订单编号：</text>{{ queryCodeList.ORMTB470CA00 || '' }}</view>
				<view><text>下单时间：</text>{{ queryCodeList.ORMTB470CA16 || '' }}</view>
				<view style="color:#99CC32;"><text>企业：</text>{{ queryCodeList.ORMTB470CA05 || '' }}</view>
				<view style="color:#32CD99;"><text>物料：</text>{{ queryCodeList.ORMTB470CA07 || '' }}</view>
				<view><text>下单方式：</text>{{ queryCodeList.ORMTB470CB01 }}</view>
				<view><text>吨数：</text>{{ queryCodeList.ORMTB470CB02 || '' }}</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
import md5 from '../../../util/MD5.js'
export default {
	data() {
		return {
			background: {
				backgroundColor: '#00a1f1',
			},
			screeningshow: false,
			codeShow: false,
			type: '', // 1 派单时间 2 结算时间
			//订单列表
			orderList: [],
			orderListExam: [],
			current: 2, // tabs组件的current值，表示当前活动的tab选项
			swiperCurrent: 0, // swiper组件的current值，表示当前那个swiper-item是活动的
			list: [{
				name: '全部'
			},
			{
				name: '运单申请',
				count: ''
			},
			{
				name: '进行中',
				count: ''
			},
			// {
			// 	name: '待提货'
			// },
			{
				name: '提货中',
				count: ''
			},
			{
				name: '已出厂',
				count: ''
			},
			{
				name: '待审核磅单',
				count: ''
			},
			{
				name: '已审核磅单',
				count: ''
			},
			{
				name: '已完成',
			},
			{
				name: '已取消',
			}
			],
			zcount: '',
			zyf: '',
			status: 'loading',
			iconType: 'flower',
			loadText: {
				loadmore: '轻轻上拉',
				loading: '努力加载中',
				nomore: '实在没有了'
			},
			countpage: 1,
			page: 1,
			userinfo: JSON.parse(uni.getStorageSync('userinfo')),
			dataStatisCount: [],
			totalWeight: 0,
			totalAmount: 0,
			totalCarCount: 0,
			params: {
				year: true,
				month: true,
				day: true,
				hour: true,
				minute: true,
				second: true
			},
			year: '',
			// systemInfo: uni.getSystemInfoSync(),
			navHeight: '',
			optionHeight: 35,
			enterpriseName: '全部',
			erpshow: false,
			erpId: '',
			erpcColumns: [],
			stattimeshow: false,
			endtimeshow: false,
			dateStartStr: '',
			dateEndStr: '',
			materName: '全部',
			matershow: false,
			materColumns: [],
			materId: '',
			carshow: false,
			carqxshow: false,
			carNumberName: '全部车牌号',
			carkeyword: '',
			carKeyWordshow: false,
			carList: [],
			qxcarList: [],
			qxcarListData: [],
			qxitemObj: {},
			ischeckedAll: true,
			carSearch: '',
			binary: '',
			ordercoutObj: '',
			AuthorizationOBJ: '',
			queryCodeList: '',
			platform: false
		};
	},
	onLoad(option) {
		if (this.userinfo.sign == 'CUS-3') {
			this.queryAuthorization()
		}
		var data = new Date()
		this.year = data.getFullYear()
		this.systemInfo = uni.getSystemInfoSync()
		this.navHeight = this.systemInfo?.platform == 'ios' ? 44 : 48;
		this.queyrErp()
	},
	onShow: function () {
		console.log('App Show')
		this.page = 1
		this.countpage = 1
		if (this.current == 1) {
			this.queryydExamineList()
		} else {
			this.queryList()
		}
		this.jbmasFun()
		// this.queryList()
	},
	onPullDownRefresh() {
		this.page = 1
		this.countpage = 1
		// this.queryList()
		this.dateStartStr = ''
		this.dateEndStr = ''

		if (this.userinfo.sign == 'CUS-3') {
			this.queryAuthorization()
		}
		if (this.current == 1) {
			this.queryydExamineList()
		} else {
			this.queryList()
		}
	},
	// onReachBottom() {
	// 	this.page++
	// 	if (this.page > this.countpage) return this.status = "nomore"
	// 	this.queryList()
	// },,
	methods: {
		queryAuthorization() { //查询子账户权限
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			uni.request({
				url: this.baseUrl + '/orm/ormtb417/selectAccess/' + this.userinfo.ORMTB417ID,
				method: 'GET',
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						this.AuthorizationOBJ = res.data.data
					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},
		reachBottom() {
			if (this.page == this.countpage) {
				return this.status = "nomore"
			}
			this.page++
			// this.queryList()
			if (this.current == 1) {
				this.queryydExamineList()
			} else {
				this.queryList()
			}
		},
		SOreturn(item) {
			if (this.AuthorizationOBJ.ORMTB417CA05 && this.AuthorizationOBJ.ORMTB417CA05 == 0) {
				uni.showToast({
					title: '您没有操作权限',
					duration: 5000,
					icon: 'none',
				});
				return
			}
			uni.navigateTo({
				url: '/pages/SOreceipt/index?ORMTB440ID=' + item.ORMTB440ID
			})
		},
		SOqxreturn(item) {

			this.qxitemObj = item
			this.querykqxcar()
		},
		detiles(item) {
			uni.navigateTo({
				url: `/pages/SOyfxq/index?ORMTB470ID=${item.ORMTB470ID}`
			})
		},
		ydshdetiles(item) {
			console.log(item)
			uni.navigateTo({
				url: '/pages/yunfeiMaseg/yfmasgshList/index?ORMTB469ID=' + item.ORMTB469ID
			})
		},
		tabsChange(index) {
			this.orderList = []
			this.page = 1
			this.countpage = 1
			this.current = index;
			this.ordercoutObj = ''
			this.dateStartStr = ''
			this.dateEndStr = ''
			this.type = ''

			console.log(this.current)
			if (this.current == 1) {
				this.queryydExamineList()
			} else {
				this.queryList()
			}

		},
		// swiper-item左右移动，通知tabs的滑块跟随移动
		transition(e) {
			let dx = e.detail.dx;
			this.$refs.tabs.setDx(dx);
		},
		// 由于swiper的内部机制问题，快速切换swiper不会触发dx的连续变化，需要在结束时重置状态
		// swiper滑动结束，分别设置tabs和swiper的状态
		animationfinish(e) {
			let current = e.detail.current;
			this.$refs.tabs.setFinishCurrent(current);
			if (this.current == current) {
				return
			}
			this.dateStartStr = ''
			this.dateEndStr = ''
			this.current = current;
			if (this.current == 1) {
				this.queryydExamineList()
			} else {
				this.queryList()
			}
			// this.queryList()
		},
		screeningClose() {
			if (this.screeningIsInit == false) {
				var obj = JSON.parse(this.screeningObj)
				this.dateStartStr = obj.dateStartStr
				this.dateEndStr = obj.dateEndStr
				this.enterpriseName = obj.enterpriseName
				this.erpId = obj.erpId
				this.materName = obj.materName
				this.materId = obj.materId
			}
		},
		initChanged() {
			this.type = ''
			this.dateStartStr = ''
			this.dateEndStr = ''
			this.enterpriseName = '全部'
			this.materName = '全部'
			this.erpId = ''
			this.materId = ''
		},
		sureSearch() {
			if (this.dateEndStr != '' || this.dateStartStr != '' || this.type != '') {
				if (this.dateEndStr != '' && this.dateStartStr != '' && this.type != '') {

				} else {
					if (this.type == '') {
						this.$refs.uToast.show({
							title: '请勾选按派单时间或按结算时间',
							type: 'default',
							icon: false
						})
						return
					}
					this.$refs.uToast.show({
						title: '请选择开始时间或结束时间',
						type: 'default',
						icon: false
					})
					return
				}
			}
			this.screeningIsInit = true
			this.screeningshow = false

			if (this.current == 1) {
				this.queryydExamineList()
			} else {
				this.queryList()
			}
		},
		screeningTap() {
			this.screeningshow = true
			if (this.screeningIsInit == true) this.screeningIsInit = false
			var obj = {
				dateStartStr: this.dateStartStr,
				dateEndStr: this.dateEndStr,
				enterpriseName: this.enterpriseName,
				erpId: this.erpId,
				materName: this.materName,
				materId: this.materId,
			}
			this.screeningObj = JSON.stringify(obj)
		},
		erpcfirm(e) {
			this.enterpriseName = this.erpcColumns[e].cateName
			this.erpId = this.erpcColumns[e].id
			if (this.erpId == '') {
				return
			}
			this.queryGwcList()
		},
		tiemconfirm(e) {
			this.dateStartStr = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second
		},
		endtiemconfirm(e) {
			this.dateEndStr = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second
		},
		materfirm(e) {
			this.materName = this.materColumns[e].cateName
			this.materId = this.materColumns[e].id
		},
		valChange(val) {
			if (val == 'I') return
			if (val == 'O') return
			this.carkeyword += val;
			this.querycar()
		},
		backspace() {
			if (this.carkeyword.length) this.carkeyword = this.carkeyword.substr(0, this.carkeyword.length - 1);
			this.querycar()
		},
		carresultTap(item) {
			this.carNumberName = item.SETTB402CA00
			this.carshow = false
			this.carkeyword = ''
			this.orderList = []
			this.page = 1
			this.countpage = 1
			this.ordercoutObj = ''
			this.dateStartStr = ''
			this.dateEndStr = ''

			console.log(this.current)
			if (this.current == 1) {
				this.queryydExamineList()
			}
			else {
				this.queryList()
			}


		},

		carclose() {
			this.carSearch = ''
		},
		checkboxGroupChange() {
			var arr = []
			this.qxcarList.map(val => {
				if (val.checked == true) {
					arr.push(arr)
				}
			})
			if (arr.lenth == this.qxcarList.length) {
				this.ischeckedAll = false
			} else {
				this.ischeckedAll = true
			}
		},

		checkedAll() {
			this.qxcarList.map(val => {
				val.checked = true
			})
			this.ischeckedAll = false
		},
		nocheckedAll() {
			this.qxcarList.map(val => {
				val.checked = false
			})
			this.ischeckedAll = true
		},
		determineFun() {
			this.qxcarList.forEach(item => {
				console.log(item)
				if (item.checked == true) {
					var i = (this.qxcarListData || []).findIndex((profile) => profile.CARPLATE === item.name);
					if (i == '-1') {
						console.log(item.name)
						var carObj = {
							CARPLATE: item.name, //车牌号
						}
						this.qxcarListData.push(carObj)
						console.log(this.qxcarListData)
					}
				}
			})
			this.cancleCarzdcl()
		},

		querycode(item) {
			const tim = new Date().valueOf() // 方法一
			var key = '25ee70b9f3354703647a437e491c0ac7' + tim + 'hf&*/*6'
			var p1 = md5.hex_md5(key)
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			this.binary = ''
			uni.request({
				url: this.baseUrl + '/orm/ormtb470/getErwei',
				method: 'POST',
				dataType: 'json',
				data: {
					ORMTB400CA03: this.userinfo.ORMTB400CA03,
					ORMTB440CA23: item.ORMTB440CA23,
					ORMTB470ID: item.ORMTB470ID,
					key: p1,
					time: tim
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data
						this.binary = 'data:image/png;base64,' + data.ORMTB470CA30
						this.queryCodeList = data
					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					console.log(res)
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},
		querycar() {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			this.carList = [{
				SETTB402CA00: '全部车牌号'
			}]
			if (this.userinfo.sign == 'CUS-1') {
				var ID = this.userinfo.ORMTB400ID
			} else if (this.userinfo.sign == 'CUS-2' || this.userinfo.sign == 'CUS-3') {
				var ID = this.userinfo.ORMTB410ID
			}
			uni.request({
				url: this.baseUrl + '/set/settb402/selectSettb402BySign',
				method: 'POST',
				dataType: 'json',
				data: {
					// sign: this.userinfo.sign,
					SETTB402CA00: this.carkeyword,
					ID: ID
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data || []
						data.unshift({
							SETTB402CA00: '全部车牌号'
						})
						this.carList = data
						console.log(this.carList)
					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					console.log(res)
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},

		querykqxcar(data) {
			this.qxcarList = []
			this.carSearch = this.carSearch.toUpperCase()
			uni.showLoading({
				title: '加载中...',
				mask: true
			});

			if (this.userinfo.sign == 'CUS-1') {
				var ID = this.userinfo.ORMTB400ID
			} else if (this.userinfo.sign == 'CUS-2' || this.userinfo.sign == 'CUS-3') {
				var ID = this.userinfo.ORMTB410ID
			}
			uni.request({
				url: this.baseUrl + '/orm/ormtb460/unUseApplyList',
				method: 'POST',
				dataType: 'json',
				data: {
					// sign: this.userinfo.sign,
					ORMTB469CA01: this.carSearch,
					ORMTB469ID: this.qxitemObj.ORMTB469ID
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data || []
						this.carqxshow = true
						this.qxcarList = []
						data.forEach(item => {
							console.log(item)
							this.qxcarList.push({
								checked: false,
								name: item.CARPLATE,
								disabled: false,
							})
						})
						console.log(this.qxcarList)
					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					console.log(res)
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},
		cancleCarzdcl() {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			uni.request({
				url: this.baseUrl + '/orm/ormtb460/cancelOrmtb460UnCarApply',
				method: 'POST',
				dataType: 'json',
				data: {
					ORMTB469ID: this.qxitemObj.ORMTB469ID,
					ORMTB410CA00: this.userinfo.ORMTB410ID,
					ormtb468List: this.qxcarListData
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data
						this.carqxshow = false
						this.queryydExamineList()
					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					console.log(res)
					uni.hideLoading();
					this.$refs.uToast.show({
						title: res.errMsg,
						type: 'default',
						icon: false
					})
				}
			});
		},
		queyrErp() {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			this.enterpriseName = '全部'
			this.erpId = ''
			this.erpcColumns = [{
				cateName: '全部',
				id: ''
			},]
			uni.request({
				url: this.baseUrl + '/orm/ormtb440/selectAllSettb99',
				method: 'POST',
				dataType: 'json',
				data: {
					ORMTB400ID: this.userinfo.ORMTB400ID,
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data || []
						data.forEach(item => {
							this.erpcColumns.push({
								cateName: item.settb99CA00,
								id: item.settb99ID
							})
						})
						if (this.erpcColumns.length == 2) {
							this.enterpriseName = this.erpcColumns[1].cateName
							this.erpId = this.erpcColumns[1].id
							this.queryGwcList()
						}

					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
					this.queryList()
				},
				fail: (res) => {
					this.queryList()
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},
		queryGwcList() {
			this.materName = '全部'
			this.materId = ''
			this.materColumns = [{
				cateName: '全部',
				id: ''
			},]
			uni.request({
				url: this.baseUrl + '/orm/ormtb440/selectAllSettb109',
				method: 'POST',
				dataType: 'json',
				data: {
					SETTB99ID: this.erpId, //二级企业代码
					sign: 'CUS-1',
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data || []
						data.forEach(item => {
							this.materColumns.push({
								cateName: item.settb109CA00,
								id: item.settb109ID
							})
						})
					} else {
						this.$refs.uToast.show({
							title: res.data.success,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},

		jbmasFun() {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});

			uni.request({
				url: this.baseUrl + '/orm/ormtb470/selectPageCount',
				method: 'POST',
				dataType: 'json',
				data: {
					ORMTB410ID: this.userinfo.ORMTB410ID
				},
				success: (res) => {
					console.log(res);
					uni.hideLoading();
					if (res.data.code == 200) {
						var data = res.data.data
						console.log(data)
						this.list[1].count = data.ydsq
						this.list[2].count = data.jxz
						this.list[3].count = data.thz
						this.list[4].count = data.ycc
						this.list[5].count = data.dsh
						this.list[6].count = data.ysh
					} else {
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
				},
				fail: (res) => {
					console.log(res)
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},

		//查询运单记录
		queryList() {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			var carNumberName = ''
			var statusName = ''
			if (this.current == 2) {
				statusName = '0'
			} else if (this.current == 3) {
				statusName = '1'
			} else if (this.current == 4) {
				statusName = '2'
			} else if (this.current == 5) {
				statusName = '3'
			} else if (this.current == 6) {
				statusName = '4'
			} else if (this.current == 7) {
				statusName = '5'
			} else if (this.current == 8) {
				statusName = '-1'
			}
			// else if (this.current == 8) {
			// 	statusName = '9'
			// }
			var carNumberName = this.carNumberName == '全部车牌号' ? '' : this.carNumberName
			var ORMTB410ID = ''
			if (this.userinfo.sign == 'CUS-2' || this.userinfo.sign == 'CUS-3') {
				ORMTB410ID = this.userinfo.ORMTB410ID
			}
			var ORMTB417ID = ''
			if (this.userinfo.sign == 'CUS-3') {
				ORMTB417ID = this.userinfo.ORMTB417ID
			}
			this.queryDataList = [];
			uni.request({
				url: this.baseUrl + '/orm/ormtb470/selectPageList ',
				method: 'POST',
				dataType: 'json',
				data: {
					// ORMTB400CA03: this.userinfo.ORMTB400CA03,
					ORMTB470CA01: carNumberName, //车牌号
					ORMTB470CD00: statusName, //状态（-1取消\0已接单\1提货中\2已出厂结算\3上传单据待审核\4已审核未确认\5已确认完成）
					ORMTB470CA04: this.erpId, //二级企业代码
					ORMTB410ID: ORMTB410ID, //二级客户代码
					ORMTB470CA06: this.materId, //物料ID
					// sign:this.userinfo.sign,
					// ORMTB440CA06: this.materId,
					// type: this.type, // 按派单时间 或 结算时间
					// startTime: this.dateStartStr, //开始时间
					// endTime: this.dateEndStr, //结束时间
					// ORMTB417ID:ORMTB417ID,
					limit: 10,
					page: this.page
				},
				success: (res) => {
					uni.hideLoading();
					if (res.data.code == 200) {
						if (!res.data.data || res.data.data == null) {
							this.orderList = []
							this.page = 1
							this.countpage = 1
							return
						}
						var data = res.data.data.list || []
						this.zcount = res.data.count

						if (res.data.data.zyf) {
							this.zyf = res.data.data.zyf.sumORMTB470CC06
						}
						console.log(data)
						if (this.page > 1) {
							this.orderList = [...this.orderList, ...data]
						} else {
							this.orderList = data
						}
						this.orderList.forEach(item => {
							if (item.ORMTB440CF01 == '-1') {
								item.ORMTB440CF01text = '取消'
							} else if (item.ORMTB440CF01 == '0') {
								item.ORMTB440CF01text = '待接单'
							} else if (item.ORMTB440CF01 == '1') {
								item.ORMTB440CF01text = '待提货'
							} else if (item.ORMTB440CF01 == '2') {
								item.ORMTB440CF01text = '提货中'
							} else if (item.ORMTB440CF01 == '3') {
								item.ORMTB440CF01text = '完成'
							} else if (item.ORMTB440CF01 == '4') {
								item.ORMTB440CF01text = '已回执'
							} else if (item.ORMTB440CF01 == '5') {
								item.ORMTB440CF01text = '确认回执'
							} else if (item.ORMTB440CF01 == '-2') {
								item.ORMTB440CF01text = '申请取消'
							}
							if (item.ORMTB440CH01 == '0') {
								item.auditText = '未审核'
							} else if (item.ORMTB440CH01 == '1') {
								item.auditText = '通过'
							} else if (item.ORMTB440CH01 == '2') {
								item.auditText = '拒绝'
							}
							if (item.ORMTB440CG00 == '0') {
								item.ORMTB440CG00Text = '未审核'
							} else if (item.ORMTB440CG00 == '1') {
								item.ORMTB440CG00Text = '通过'
							} else if (item.ORMTB440CG00 == '2') {
								item.ORMTB440CG00Text = '拒绝'
							}
						})
						this.countpage = Math.ceil(res.data.count / 10)
						this.ordercoutObj = res.data.data.count
					} else {
						this.ordercoutObj = ''
						this.orderList = []
						this.page = 1
						this.countpage = 1
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
					if (this.countpage == this.page) {
						this.status = "nomore"
					} else {
						this.status = "loadmore"
					}
					uni.stopPullDownRefresh();
				},
				fail: (res) => {
					uni.stopPullDownRefresh();
					if (this.countpage == this.page) {
						this.status = "nomore"
					} else {
						this.status = "loadmore"
					}
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},

		//查询运单记录
		queryydExamineList() {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			var carNumberName = ''
			var statusName = ''
			if (this.current == 1) {
				statusName = '0'
			}
			var carNumberName = this.carNumberName == '全部车牌号' ? '' : this.carNumberName
			var ORMTB410ID = ''
			if (this.userinfo.sign == 'CUS-2' || this.userinfo.sign == 'CUS-3') {
				ORMTB410ID = this.userinfo.ORMTB410ID
			}
			var ORMTB417ID = ''
			if (this.userinfo.sign == 'CUS-3') {
				ORMTB417ID = this.userinfo.ORMTB417ID
			}
			this.queryDataList = [];
			uni.request({
				url: this.baseUrl + '/orm/ormtb460/ormtb469List',
				method: 'POST',
				dataType: 'json',
				data: {
					// ORMTB400CA03: this.userinfo.ORMTB400CA03,
					ORMTB469CA01: carNumberName, //车牌号
					ORMTB469CD01: statusName, //状态（-1取消\0已接单\1提货中\2已出厂结算\3上传单据待审核\4已审核未确认\5已确认完成）
					ORMTB469CA04: this.erpId, //二级企业代码
					ORMTB410CA00: ORMTB410ID, //二级客户代码
					ORMTB469CA06: this.materId, //物料ID
					// sign:this.userinfo.sign,
					// ORMTB440CA06: this.materId,
					// type: this.type, // 按派单时间 或 结算时间
					// startTime: this.dateStartStr, //开始时间
					// endTime: this.dateEndStr, //结束时间
					// ORMTB417ID:ORMTB417ID,
					limit: 10,
					page: this.page
				},
				success: (res) => {
					uni.hideLoading();
					if (res.data.code == 200) {
						if (!res.data.data || res.data.data == null) {
							this.orderListExam = []
							this.page = 1
							this.countpage = 1
							return
						}
						var data = res.data.data.list || []
						// this.zcount = res.data.count

						// if (res.data.data.zyf) {
						// 	this.zyf = res.data.data.zyf.sumORMTB470CC06
						// }
						console.log(data)
						if (this.page > 1) {
							this.orderListExam = [...this.orderListExam, ...data]
						} else {
							this.orderListExam = data
						}

						this.countpage = Math.ceil(res.data.data.total / 10)
						this.ordercoutObj = res.data.data.total
					} else {
						this.ordercoutObj = ''
						this.orderListExam = []
						this.page = 1
						this.countpage = 1
						this.$refs.uToast.show({
							title: res.data.message,
							type: 'default',
							icon: false
						})
					}
					if (this.countpage == this.page) {
						this.status = "nomore"
					} else {
						this.status = "loadmore"
					}
					uni.stopPullDownRefresh();
				},
				fail: (res) => {
					uni.stopPullDownRefresh();
					if (this.countpage == this.page) {
						this.status = "nomore"
					} else {
						this.status = "loadmore"
					}
					uni.hideLoading();
					this.$refs.uToast.show({
						title: '服务器连接超时',
						type: 'default',
						icon: false
					})
				}
			});
		},

		dateTransfor(date, format) {
			var o = {
				"M+": date.getMonth() + 1,
				"d+": date.getDate(),
				"h+": date.getHours(),
				"m+": date.getMinutes(),
				"s+": date.getSeconds(),
				"q+": Math.floor((date.getMonth() + 3) / 3),
				"S": date.getMilliseconds()
			};
			if (/(y+)/.test(format)) {
				format = format.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
			}
			for (let k in o) {
				if (new RegExp("(" + k + ")").test(format)) {
					format = format.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" +
						o[k]).length)));
				}
			}
			return format;
		},
	}
};
</script>
<style lang="scss" scoped>
.wrap-count {
	margin: 20rpx 20rpx 0;
	border-radius: 10rpx;
	background-color: #FFF;
	padding: 20rpx 0;
}

.wrap-count>text {
	padding: 0 30rpx;
	font-size: 40rpx;
}

.wrap-count>view {
	display: flex;
	padding: 20rpx 60rpx;
}

.wrap-count>view>view {
	flex: .7;
	font-size: 40rpx;
}

.wrap-count>view>view>text {
	color: #999;
}

.wrap-count .wrap-count-money {
	flex: 1;
}

.zanWSJ {
	padding-top: 200rpx;
}

.zanWSJ>image {
	display: block;
	margin: 0 auto;
	height: 360rpx;
	width: 43%;
}

.code-img {
	width: 500rpx;
	height: 500rpx;
	margin: 50rpx auto 0;
}

.code-img image {
	width: 500rpx;
	height: 500rpx;
}

.sendorder-loadmore {
	padding: 20rpx 0 20rpx 0;
}

page {
	height: 100%;
	background-color: #f2f2f2;
}

/*二维码弹出*/
.qc_show {
	padding: 25rpx 15rpx 15rpx 15rpx;

	.title {
		text-align: center;
		font-size: 33rpx;
		margin-bottom: 15rpx;
		font-weight: bold;
	}

	.info {
		font-size: 30rpx;
		text-align: center;
		color: #666;
	}
}

/* 顶部下拉*/
.dropdown_menu {
	padding: 24rpx 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: #FFFFFF;
	border-top-style: solid;
	border-top-width: 1rpx;
	border-top-color: #e1e1e1;

	.icon_left_margin {
		margin-left: 20rpx;
	}
}

.order {
	width: 710rpx;
	background-color: #ffffff;
	margin: 20rpx auto;
	border-radius: 20rpx;
	box-sizing: border-box;
	padding: 40rpx 20rpx;
	// font-size: 32rpx;

	.top {
		display: flex;
		justify-content: space-between;
		border-bottom-width: 1rpx;
		border-bottom-color: #eee;
		border-bottom-style: solid;
		padding-bottom: 20rpx;

		.left {
			display: flex;
			align-items: center;

			.store {
				margin: 0 10rpx;
				// font-size: 32rpx;
				color: #666;
			}
		}

		.right {
			color: #058cff;
		}
	}

	.item {
		// display: flex;
		margin: 20rpx 0 0;

		.left {
			margin-top: 30rpx;
			margin-right: 30rpx;
			text-align: center;

			.license_plate {
				width: 130rpx;
				text-align: center;
				font-size: 26rpx;
				margin-top: 10rpx;
			}
		}

		.content {
			.title {
				// font-size: 32rpx;
				line-height: 50rpx;
			}

			.type {
				display: flex;
				justify-content: space-between;
				margin: 10rpx 0;
				// font-size: 32rpx;
				color: #303133;
			}

			.btn_mid {
				margin-left: 480rpx;
				// margin-top: -80rpx;
				padding: 0rpx 25rpx;
				height: 70rpx;
				width: 180rpx;
				top: 30rpx;
				right: 0;
			}
		}
	}

	.total {
		margin-top: 20rpx;
		text-align: right;
		font-size: 24rpx;

		.total-price {
			font-size: 32rpx;
		}
	}

	.bottom {
		display: flex;
		margin-top: 40rpx;
		padding: 0 10rpx;
		justify-content: space-between;
		align-items: center;

		.btn {
			line-height: 52rpx;
			width: 160rpx;
			border-radius: 26rpx;
			border: 2rpx solid $u-border-color;
			font-size: 26rpx;
			text-align: center;
			color: $u-type-info-dark;
		}

		.evaluate {
			color: $u-type-warning-dark;
			border-color: $u-type-warning-dark;
		}
	}
}

.centre {
	text-align: center;
	margin: 200rpx auto;
	font-size: 32rpx;

	image {
		width: 164rpx;
		height: 164rpx;
		border-radius: 50%;
		margin-bottom: 20rpx;
	}

	.tips {
		font-size: 24rpx;
		color: #999999;
		margin-top: 20rpx;
	}

	.btn {
		margin: 80rpx auto;
		width: 200rpx;
		border-radius: 32rpx;
		line-height: 64rpx;
		color: #ffffff;
		font-size: 26rpx;
		background: linear-gradient(270deg, rgba(249, 116, 90, 1) 0%, rgba(255, 158, 1, 1) 100%);
	}
}

.wrap {
	display: flex;
	flex-direction: column;
	height: calc(100vh - var(--window-top));
	width: 100%;
	background-color: #E3E3E3;
}

.swiper-box {
	flex: 1;
	// margin-bottom: 39px;
}

.swiper-item {
	height: 100%;
}

.sendrecord {
	min-height: 100vh;
	width: 100vw;
	background-color: #efeff4;
}

.sendrecord-nav-fixed {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	background-color: #FFF;
}

.sendrecord-nav-top-navbar-inner {
	/* display: flex; */
	position: relative;
}

.sendrecord-nav-top-navbar-inner text {
	position: absolute;
	top: 0;
	left: 0;
	width: 100rpx;
	text-align: center;
	font-size: 34rpx;
	z-index: 1;
}

.sendrecord-nav-top-navbar-inner view {
	flex: 1;
	text-align: center;
	font-size: 34rpx;
	font-weight: 600;
}

.sendrecord-nav-option {
	height: inherit;
	display: flex;
	font-size: 30rpx;
	color: #333;
	text-align: center;
	overflow: hidden;
}

.sendrecord-nav-option-rep {
	position: relative;
	flex: 1;
	padding: 0 55rpx 0 20rpx;
}

.sendrecord-nav-option-rep .iconxiala {
	position: absolute;
	top: 0;
	right: 0;
	height: inherit;
	line-height: inherit;
	font-size: 22rpx;
	margin-left: 10rpx;
	color: #999;
}

.sendrecord-nav-option-screening {
	flex: .35;
}

.sendrecord-nav-option-screening .iconshaixuan {
	font-size: 30rpx;
	margin-left: 10rpx;
}

.sendrecord-count {
	background-color: #fff;
}

.sendrecord-count-p {
	position: relative;
	border-radius: 20rpx 20rpx 0 0;
	height: 25vh;
	padding: 20rpx 40rpx;
	background-color: #efeff4;
}

.sendrecord-count-p image {
	width: 100%;
	height: 100%;
}

.sendrecord-count-p-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20rpx 70rpx;
	box-sizing: border-box;
}

.sendrecord-count-p-content-title {
	padding: 40rpx 0 30rpx 0;
	font-size: 32rpx;
	color: #ffd919;
}

.sendrecord-count-p-num {
	display: flex;
	color: #FFF;
	font-size: 30rpx;
}

.sendrecord-count-p-num>view>text {
	font-size: 26rpx;
	color: #e3e3e3;
}

.sendrecord-count-p-num-money,
.sendrecord-count-p-num-weight {
	flex: 1;
}

.sendrecord-count-p-num-time {
	flex: .5;
}

.sendrecord-table-content {
	padding: 0 30rpx;
}

.sendrecord-table-content-card {
	border-radius: 25rpx;
	background-color: #FFF;
	color: rgba(153, 153, 153, 1);
}

.sendrecord-table-content-card+.sendrecord-table-content-card {
	margin-top: 15rpx;
}

.sendrecord-table-content-card-title {
	display: flex;
	justify-content: space-between;
	height: 80rpx;
	line-height: 80rpx;
	padding: 0 30rpx;
	font-size: 30rpx;
	border-bottom: 1px solid rgba(230, 230, 230, 1);
	font-weight: 400;
}

.sendrecord-table-content-card-title-tiem {}

.sendrecord-table-content-card-title-details {
	font-size: 30rpx;
	color: rgba(0, 162, 243, 1);
}

.sendrecord-table-content-card-text {
	position: relative;
	display: flex;
	padding: 0 30rpx;
}

.sendrecord-table-content-card-text-image {
	position: absolute;
	left: 0;
	top: 2rpx;
	width: 120rpx;
	height: 70rpx;
}

.sendrecord-table-content-card-text-image>image {
	width: 100%;
	height: 100%;
	transform: rotate(-25deg);
}

.sendrecord-table-content-card-text-left {
	display: flex;
	align-items: center;
	margin-right: 40rpx;
	text-align: center;
}

.sendrecord-table-content-card-text-left .iconfont {
	font-size: 70rpx;
	color: rgba(102, 102, 102, 1);
}

.sendrecord-table-content-card-text-left-car {
	line-height: 50rpx;
	font-size: 26rpx;
	color: rgba(102, 102, 102, 1);
	font-weight: 400;
}

.sendrecord-table-content-card-text-right {
	flex: 1;
	color: #333;
	font-size: 26rpx;
	line-height: 40rpx;
	padding-bottom: 30rpx;
	font-weight: 400;
}

.sendrecord-table-content-card-text-right>view {
	margin-top: 10rpx;
	overflow: hidden;
}

.sendrecord-table-content-card-text-right-details {
	display: flex;
	justify-content: space-between;
}

.sendrecord-table-content-card-text-right-details text {
	display: inline-block;
	max-width: 200rpx;
	overflow: hidden;
}

.sendrecord-table-content-card-text-right-details text+text {
	margin-left: 20rpx;
}

.sent-changeDate-text {
	color: rgba(102, 102, 102, 1);
	font-size: 28rpx;
	padding-left: 42rpx;
}

.sent-dateChange {
	margin-top: 28rpx;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-left: 42rpx;
	font-size: 26rpx;
}

.sent-dateChange-mask {
	position: relative;
}

.sent-dateChange-mask>view {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}

.sent-startDate {
	width: 231rpx;
	height: 45rpx;
	border: 2rpx solid #e3e3e3;
	color: #e3e3e3;
	font-size: 26rpx;
	text-align: center;
	padding: 0 20rpx;
}

.sent-startDate-active {
	height: 77rpx;
	border-color: rgba(0, 161, 241, 0.5);
	color: rgba(0, 161, 241, 1);
}

.sent-startDate input {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background: 0;
	border: 0;
	text-align: center;
}

.dateLine {
	width: 55rpx;
	height: 2rpx;
	background: rgba(205, 205, 205, 1);
}

.changeCarnum>view:first-child {
	color: rgba(102, 102, 102, 1);
	font-size: 28rpx;
	padding: 0 42rpx;
}

.carNumReset {
	width: 120rpx;
	text-align: center;
	color: rgba(0, 161, 241, 1);
	margin-left: 60rpx;
}

.electionMonth {
	width: 100rpx;
	height: 67rpx;
	line-height: 67rpx;
	text-align: center;
	background: rgba(0, 161, 241, 1);
	color: rgba(255, 255, 255, 1);
	border-radius: 6rpx;
	margin-left: 50rpx;
}

.changeQiye .xuanzeqiye {
	color: rgba(102, 102, 102, 1);
	font-size: 28rpx;
	padding: 0 42rpx;
}

.kehuName {
	width: 300rpx;
	height: 60rpx;
	line-height: 60rpx;
	border: 2rpx solid rgba(153, 153, 153, 0.5);
	color: rgba(153, 153, 153, 1);
	font-size: 26rpx;
	padding: 0;
	text-align: center;
}

.changeWuliao view:first-child {
	color: rgba(102, 102, 102, 1);
	font-size: 28rpx;
	padding: 0 42rpx;
}

.changeButton {
	display: flex;
	padding: 56rpx 30rpx 100rpx 39%;
}

.changeButton button {
	padding: 0;
	width: 223rpx;
	height: 60rpx;
	line-height: 60rpx;
	border-radius: 0;
	font-size: 30rpx;
	color: rgba(255, 255, 255, 1);
}

.changeButton button:first-child {
	background: rgba(0, 202, 243, 1);
}

.changeButton button:last-child {
	background: rgba(0, 161, 241, 1);
}

.sent-changeDate,
.changeCarnum,
.changeQiye,
.changeWuliao {
	width: 100%;
	border-bottom: 2rpx solid rgba(230, 230, 230, 1);
	padding: 42rpx 0;
}

.sent-dateChange-mask .orActive {
	color: rgba(0, 161, 241, 1) !important;
	border: 2rpx solid rgba(0, 161, 241, 1) !important;
}

.car-search-top-title {
	display: flex;
}

.car-search-top-title>view:first-child {
	width: 150rpx;
	height: 70rpx;
	line-height: 70rpx;
	text-align: center;
	font-size: 30rpx;
	color: #999;

}

.car-search-fixed {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 99;
	background-color: #fff;
}

.car-search-top-title-search {
	position: relative;
	flex: 1;
	padding: 0 40rpx 0 0;
}

.car-search-top-title-search>view {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 19;
}

.car-search-top-title-search-box {
	width: 90%;
}

.car-search-li {
	height: 70rpx;
	line-height: 70rpx;
	padding-left: 60rpx;
	font-size: 34rpx;
	color: #333;
	border-bottom: 2rpx solid #e3e3e3;
}

// 统计
.statistics-banner-box {
	width: 100%;
	height: 252rpx;
	padding: 10rpx 0;
	background-color: rgba(204, 204, 204, .3);
}

.statistics-banner-title-box {
	padding: 30rpx 0 50rpx 40rpx;
	background-color: #fff;
}

.statistics-banner-title {
	// margin: 60rpx 0 50rpx 40rpx;
	// margin: 60rpx 0 50rpx 40rpx;
	padding-bottom: 20rpx;
	font-size: 42rpx;
	color: rgba(51, 51, 51, 1);
}

.statistics-banner-list {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 40rpx;
	flex-direction: row;
	align-items: center;
}

.statistics-banner-name {
	font-size: 26rpx;
	// color: rgba(255, 255, 255, .8);
}

.statistics-banner-number {
	font-size: 36rpx;
	// color: rgba(255, 255, 255, 1);
}

.ERcode-orderinfo {
	font-size: 36rpx;
	color: #333;
	margin-bottom: 65rpx;
	padding: 0 28rpx;
}

.ERcode-orderinfo>view {
	// height: 44rpx;
	line-height: 44rpx;
	overflow: hidden;
}

.ERcode-orderinfo-view {
	border-bottom: 2rpx solid #e3e3e3;
	padding-bottom: 20rpx;
}

.ERcode-orderinfo-view>text:first-child {
	font-size: 44rpx;
	font-weight: 600;
	width: 255rpx !important;
}

.ERcode-orderinfo>view+view {
	margin-top: 15rpx;
}

.ERcode-orderinfo text {
	display: inline-block;
	font-size: 36rpx;
	width: 190rpx;
	text-align: right;
	margin-right: 21rpx;
	color: #666;
}

uni-button:after {
	border: none;
}

.che-leixing {
	margin-bottom: 40rpx;
}

.huo-yun-biaoqian {
	background-color: #E3E3E3;
	border-radius: 10rpx;
	padding: 5rpx;
	margin-right: 20rpx;
}

.zhuang-huo-dizhi {
	background-color: #303133;
	color: #fff;
	border-radius: 50%;
	width: 50rpx;
	height: 50rpx;
	display: inline-block;
	font-size: 32rpx;
	text-align: center;
	margin-right: 10rpx;
	margin-bottom: 20rpx;
}

.xie-huo-dizhi {
	background-color: #2979ff;
	color: #fff;
	border-radius: 50%;
	width: 50rpx;
	height: 50rpx;
	display: inline-block;
	font-size: 32rpx;
	text-align: center;
	margin-right: 10rpx;
}

.but-box {
	display: flex;
	margin-left: 480rpx;
}

.but-box .btn_sty {
	margin-left: 0;
	padding: 0rpx 25rpx;
	height: 70rpx;
	width: 180rpx;
	top: 30rpx;
	right: 0;
}


/* 车牌号选择弹窗style */

.iscar-nav {
	position: fixed;
	top: 0;
	width: 100%;
	/* height: 22vh; */
	/* box-sizing: border-box; */
	z-index: 2;
	background-color: #FFF;
}

.iscar-content {
	/* margin-top: 24vh; */
}

.iscar-nav-top {
	height: 10vh;
	/* background-color: #e3e3e3; */
}

.iscar-nav-search {
	display: flex;
	/* background-color: #e3e3e3; */
	padding-bottom: 20rpx;
}

.iscar-nav-search-ipt {
	flex: 1;
}

.iscar-nav-search-btn {
	width: 100rpx;
	height: 60rpx;
	line-height: 60rpx;
	font-size: 28rpx;
	text-align: center;
	color: #333;
	margin: 0 20rpx;
}

.iscar-nav-btn {
	display: flex;
	justify-content: space-between;
	height: 90rpx;
	line-height: 90rpx;
	font-size: 36rpx;
	color: #333;
	padding: 0 40rpx;
	border-top: 2rpx solid #e3e3e3;
	border-bottom: 2rpx solid #e3e3e3;
	background-color: #fff;
}

.iscar-nav-btn view+view {
	color: #02a2f4;
}

.iscar-nav-btn view {
	/* width: 100rpx; */
	text-align: center;
}

.iscar-content {
	padding-left: 30rpx;
}

.timSize-16 {
	font-size: 32rpx;
}
</style>
